/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.az.ducbt.cliphot;

import java.util.Random;

/**
 *
 * @author Administrator
 */
public class ClipItem {
    private String clipID;
    private String clipName;
    private String imageUrl;
    private String clipUrl;
    private int  countDown;
    private int countView;
    private boolean viewed;

    public ClipItem() {
        this.countDown = 2000+ new Random().nextInt(5000);
        this.countView = 7000+ new Random().nextInt(2000);
    }

    public ClipItem(String clipID, String clipName, String imageUrl, String clipUrl, int countDown, int countView, boolean viewed) {
        this.clipID = clipID;
        this.clipName = clipName;
        this.imageUrl = imageUrl;
        this.clipUrl = clipUrl;
        this.countDown = countDown;
        this.countView = countView;
        this.viewed = viewed;
    }

    public String getClipID() {
        return clipID;
    }

    public void setClipID(String clipID) {
        this.clipID = clipID;
    }

    public String getClipName() {
        return clipName;
    }

    public void setClipName(String clipName) {
        this.clipName = clipName;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getClipUrl() {
        return clipUrl;
    }

    public void setClipUrl(String clipUrl) {
        this.clipUrl = clipUrl;
    }

    public int getCountDown() {
        return countDown;
    }

    public void setCountDown(int countDown) {
        this.countDown = countDown;
    }

    public int getCountView() {
        return countView;
    }

    public void setCountView(int countView) {
        this.countView = countView;
    }

    public boolean isViewed() {
        return viewed;
    }

    public void setViewed(boolean viewed) {
        this.viewed = viewed;
    }
        
}
